<?php
session_start();
$f = file("err.bdd");

if ($f)
	$l = $f[$_GET['id']-1];
else
	$l = "Could not open error database.";
	
session_destroy();
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr">
<head>
	<title>Error - webtoftp</title>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<link href="styles/general_styles.css" rel="stylesheet" type="text/css" />
</head>
<body>
	<h1>webtoftp</h1>
	
	<p>
		<span style="font-weight: bold;">Error:</span> <?php echo $l; ?><br />
		<a href="javascript:history.go(-1);">Back</a>
	</p>
	
	<p id="footer">
		Copyright 2006, pb_ee1 - <a href="http://zorglub6.free.fr/webtoftp/">Official website</a>
	</p>
</body>
</html>